]>
Commit | Line | Data |
---|---|---|
1 | using System; | |
2 | using System.Collections.Generic; | |
3 | using System.Linq; | |
4 | using System.Text; | |
5 | ||
6 | namespace SuperPolarity | |
7 | { | |
8 | public class Player | |
9 | { | |
10 | public int Score; | |
11 | public int Multiplier; | |
12 | public int Lives; | |
13 | ||
14 | public Player() | |
15 | { | |
16 | Score = 0; | |
17 | Multiplier = 1; | |
18 | Lives = 3; | |
19 | } | |
20 | ||
21 | public void AddScore(int value) | |
22 | { | |
23 | Score = Score + (value * Multiplier); | |
24 | } | |
25 | ||
26 | public void AddMultiplier(int value) | |
27 | { | |
28 | Multiplier = Multiplier + 1; | |
29 | } | |
30 | ||
31 | public void ResetMultiplier() | |
32 | { | |
33 | Multiplier = 1; | |
34 | } | |
35 | ||
36 | public void Draw() | |
37 | { | |
38 | ||
39 | } | |
40 | ||
41 | public void Update() | |
42 | { | |
43 | ||
44 | } | |
45 | } | |
46 | } |